<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<div class="easyui-layout" fit="true">
  <div region="center" style="padding:1px;">
  <t:datagrid name="jzhyList" title="机组耗用明细" actionUrl="inventoryController.do?jzhy_datagrid"  idField="id"  fit="true" queryMode="group"  autoLoadData="false" pagination="false">
   <t:dgCol title="编号" field="id" hidden="false" ></t:dgCol>
   <t:dgCol title="日期" field="FDate"  isDate="true"  formatter="yyyy-MM" query="true" hidden="false"></t:dgCol>
   <t:dgCol title="部门" field="FUse" ></t:dgCol>
   <t:dgCol title="标准件" field="BZJL" ></t:dgCol>
   <t:dgCol title="低值类" field="DZ"  ></t:dgCol>
   <t:dgCol title="电器" field="DQL"  ></t:dgCol>
   <t:dgCol title="工量具" field="GLJL"  ></t:dgCol>
   <t:dgCol title="辊类" field="HL"  ></t:dgCol>
   <t:dgCol title="化工" field="HGL"  ></t:dgCol>
   <t:dgCol title="机械" field="JXL"  ></t:dgCol>
   <t:dgCol title="其他" field="QTL"  ></t:dgCol>
   <t:dgCol title="套筒" field="TTL"  ></t:dgCol>
   <t:dgCol title="油脂" field="YZL"  ></t:dgCol>
   <t:dgCol title="专用备件" field="ZYPJ"  ></t:dgCol>
   <t:dgCol title="劳护类" field="LBYP"  ></t:dgCol>
   <t:dgCol title="管理类" field="BGYPL"  ></t:dgCol>
	<t:dgToolBar title="导出"  icon="icon-print"    onclick="export2()"   operationCode="export"></t:dgToolBar>
  </t:datagrid>
  </div>
</div>


<script type="text/javascript" charset="utf-8">
	/*
	 *	excel导出
	 */
	function export2() {
		export1("inventoryController.do?export_jzhyList","jzhyList");
	}
	
</script>


 
